import api from './request'

// 获取所有帖子分类
export const getAllCategories = (params?: { page?: number; size?: number }) => {
  return api.get('/categories', { params })
}
